#pragma once

#include <string>
#include <unordered_map>

class Rating
{
public:
    Rating(const std::string& line);
    
public:
    void print() const;

    int attr(const char type) const;

private:
    std::unordered_map<char, int> _attrs;
};